<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Exil: Référence du fichier src/Personnage.c</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Exil
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Généré par Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Variables&#160;globale</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Fonctions</a>  </div>
  <div class="headertitle">
<div class="title">Référence du fichier src/Personnage.c</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_personnage_8h_source.html">Personnage.h</a>&quot;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &lt;assert.h&gt;</code><br/>
</div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a5a748ba336d5d59c467474665131f3e9">initPers</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage, const unsigned int posX, const unsigned int posY, const unsigned int posZ)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a71cf6968e6e0ebba48134449856a7517">creerPersonnage</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> **personnage, const unsigned int posX, const unsigned int posY, const unsigned int posZ)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#ad1892a1fbdf3f1e389f86337b009ec95">liberePers</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Libère la mémoire allouée aux champs du Personnage donné  <a href="#ad1892a1fbdf3f1e389f86337b009ec95"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#ac40db1fda7b15b94ab3e57e9abaa776d">detruirePers</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#ad0f619eecff802774f80053e32879190">getIDPers</a> (const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#aa0f2cd8b5da3723e00bb4cb6cfec75b2">getNom</a> (const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#add57a3435c78aad366867e4b9266ebd7">getEspece</a> (const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_caracteristiques.html">Caracteristiques</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a3b8f641956c8d4f663b83814d4c540d8">getCarac</a> (const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_comp_actuel.html">CompActuel</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#ae04df6bdab04bd9a75638163a9c0ab84">getCompActuelPers</a> (const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retourne le pointeur sur <a class="el" href="struct_comp_actuel.html" title="Informations définissant un CompActuel.">CompActuel</a> du Personnage donné  <a href="#ae04df6bdab04bd9a75638163a9c0ab84"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a1bca74134d3159dc8ef8b33f999652c0">getVitProd</a> (const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#ad8939a92febd01af527b89cbf8718404">getXPers</a> (const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a240dd7a392a091ddf87116dc09fbf52d">getYPers</a> (const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a7fd98037116439b6da55473caf3d2543">getZPers</a> (const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a002266eff71b796ad32ea7b1ad61ebc1">getPersonnageSuivant</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a311692a49637893021518adbdaa42804">getPersonnagePrecedent</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#ac1fee3daab71655e9f3299ff252090b9">getProdActPers</a> (const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retourne l'état où en est la production actuelle du personnage.  <a href="#ac1fee3daab71655e9f3299ff252090b9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#ace110510c3cb811e18f2efc981cbfd83">getVitesseProdPers</a> (const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retourne la valeur de vitesse de production du personnage donné  <a href="#ace110510c3cb811e18f2efc981cbfd83"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#ae9450045709c06b990c5944e2f57167d">setIDPers</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage, const unsigned int ID)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a405a6a3c2ddc62dd6e3b12c1920f9183">setNomPers</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage, char *nom)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a1d2f71b6571baea81f936de79558b20b">setEspecePers</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage, char *espece)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a998e0455c211e4bd8821e9832b11cc9b">setCaracPers</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage, <a class="el" href="struct_caracteristiques.html">Caracteristiques</a> *caracteristiques)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a9687678428effb26dcdf72187a790380">setComportActuel</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage, <a class="el" href="struct_comp_actuel.html">CompActuel</a> *nouvComp)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remplace le pointeur sur le comportement en cours d'un Personnage donné par un pointeur passé en paramètre.  <a href="#a9687678428effb26dcdf72187a790380"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a710b72772e0e5c11a72b633b7f0a54ba">setXPers</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage, const unsigned int x)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a83fc2213f88a064addc6c48cc59b5f1e">setYPers</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage, const unsigned int y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a7f9fdb53e9aca41690854d434a96d51b">setZPers</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage, const unsigned int z)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#adbb2f4fa429d303c0964958e9c783189">setPersonnageSuivant</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage, <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnageSuivant)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a1fe1d32799710b78dec590edf52a0f9d">setPersonnagePrecedent</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage, <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnagePrecedent)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a2277ba6161b0bd678113b405d1b85c0c">setProdActPers</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage, int nouvVal)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remplace la valeur de production actuelle du personnage donné par une nouvelle valeur passée en paramètre.  <a href="#a2277ba6161b0bd678113b405d1b85c0c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a4895fedeca52cf085e4ea7783779bba7">setVitesseProdPers</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage, int nouvVal)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remplace la valeur de vitesse de production du personnage donné par une nouvelle valeur passée en paramètre.  <a href="#a4895fedeca52cf085e4ea7783779bba7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#afbe683f828915d6a3d16686b17e28940">setCompActuelNomCompPers</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage, <a class="el" href="struct_tab_comp.html">TabComp</a> *ptabComp, char *nomComp)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remplace le pointeur sur le comportement en cours d'un Personnage donné par un comportement dont on aura fourni le nom en paramètre.  <a href="#afbe683f828915d6a3d16686b17e28940"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#a997da2253cbd53cfdc7202493bf07526">creerCompletPers</a> (<a class="el" href="struct_tab_comp.html">TabComp</a> *ptabComp)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Crée et renvoie un personnage, ses champs remplis (à part pour suivant et précédent, ainsi que l'ID, qui seront attribués via <a class="el" href="struct_population.html" title="Informations définissant la population.">Population</a>)  <a href="#a997da2253cbd53cfdc7202493bf07526"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#aa8d4faf534c2876ebc5e7081eb66d366">changementComportementPers</a> (<a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *personnage, <a class="el" href="struct_carte.html">Carte</a> *pcarte, <a class="el" href="struct_tab_comp.html">TabComp</a> *ptabComp, <a class="el" href="struct_entrepot.html">Entrepot</a> *pstock)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Procédure régissant les changements/applications de comportement du nain passé en paramètre.  <a href="#aa8d4faf534c2876ebc5e7081eb66d366"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_personnage_8c.html#ae81ecc66acb9ddb110ca0efa5ad9d761">testPers</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Teste les différentes fonctions du module Personnage.  <a href="#ae81ecc66acb9ddb110ca0efa5ad9d761"></a><br/></td></tr>
</table>
<hr/><h2>Documentation des fonctions</h2>
<a class="anchor" id="aa8d4faf534c2876ebc5e7081eb66d366"></a><!-- doxytag: member="Personnage.c::changementComportementPers" ref="aa8d4faf534c2876ebc5e7081eb66d366" args="(Personnage *personnage, Carte *pcarte, TabComp *ptabComp, Entrepot *pstock)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#aa8d4faf534c2876ebc5e7081eb66d366">changementComportementPers</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_carte.html">Carte</a> *&#160;</td>
          <td class="paramname"><em>pcarte</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_tab_comp.html">TabComp</a> *&#160;</td>
          <td class="paramname"><em>ptabComp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_entrepot.html">Entrepot</a> *&#160;</td>
          <td class="paramname"><em>pstock</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Procédure régissant les changements/applications de comportement du nain passé en paramètre. </p>
<p>Voici le principe : si le nain se trouve sur une case comportant une "Production", il adoptera le comportement approprié à cette production (récolte-&gt;fin de récolte). Sinon, il passera en inactif. </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">personnage</td><td>Pointeur sur personnage </td></tr>
    <tr><td class="paramname">pcarte</td><td>Pointeur sur carte </td></tr>
    <tr><td class="paramname">ptabComp</td><td>Tableau des comportements possibles </td></tr>
    <tr><td class="paramname">pstock</td><td>Pointeur vers l'entrepôt du clan </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a997da2253cbd53cfdc7202493bf07526"></a><!-- doxytag: member="Personnage.c::creerCompletPers" ref="a997da2253cbd53cfdc7202493bf07526" args="(TabComp *ptabComp)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a>* <a class="el" href="_personnage_8h.html#a997da2253cbd53cfdc7202493bf07526">creerCompletPers</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_tab_comp.html">TabComp</a> *&#160;</td>
          <td class="paramname"><em>ptabComp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Crée et renvoie un personnage, ses champs remplis (à part pour suivant et précédent, ainsi que l'ID, qui seront attribués via <a class="el" href="struct_population.html" title="Informations définissant la population.">Population</a>) </p>
<p>Attention : à n'utiliser qu'après remplissage de la carte ! </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Un pointeur sur personnage </dd></dl>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ptabComp</td><td>Tableau des comportements possibles </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a71cf6968e6e0ebba48134449856a7517"></a><!-- doxytag: member="Personnage.c::creerPersonnage" ref="a71cf6968e6e0ebba48134449856a7517" args="(Personnage **personnage, const unsigned int posX, const unsigned int posY, const unsigned int posZ)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#a71cf6968e6e0ebba48134449856a7517">creerPersonnage</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> **&#160;</td>
          <td class="paramname"><em>personnage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned int&#160;</td>
          <td class="paramname"><em>posX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned int&#160;</td>
          <td class="paramname"><em>posY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned int&#160;</td>
          <td class="paramname"><em>posZ</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac40db1fda7b15b94ab3e57e9abaa776d"></a><!-- doxytag: member="Personnage.c::detruirePers" ref="ac40db1fda7b15b94ab3e57e9abaa776d" args="(Personnage *personnage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#ac40db1fda7b15b94ab3e57e9abaa776d">detruirePers</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3b8f641956c8d4f663b83814d4c540d8"></a><!-- doxytag: member="Personnage.c::getCarac" ref="a3b8f641956c8d4f663b83814d4c540d8" args="(const Personnage *personnage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_caracteristiques.html">Caracteristiques</a>* <a class="el" href="_personnage_8h.html#a3b8f641956c8d4f663b83814d4c540d8">getCarac</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae04df6bdab04bd9a75638163a9c0ab84"></a><!-- doxytag: member="Personnage.c::getCompActuelPers" ref="ae04df6bdab04bd9a75638163a9c0ab84" args="(const Personnage *personnage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_comp_actuel.html">CompActuel</a>* <a class="el" href="_personnage_8h.html#ae04df6bdab04bd9a75638163a9c0ab84">getCompActuelPers</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retourne le pointeur sur <a class="el" href="struct_comp_actuel.html" title="Informations définissant un CompActuel.">CompActuel</a> du Personnage donné </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Un pointeur sur <a class="el" href="struct_comp_actuel.html" title="Informations définissant un CompActuel.">CompActuel</a> </dd></dl>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">personnage</td><td>Pointeur vers un Personnage </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="add57a3435c78aad366867e4b9266ebd7"></a><!-- doxytag: member="Personnage.c::getEspece" ref="add57a3435c78aad366867e4b9266ebd7" args="(const Personnage *personnage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* <a class="el" href="_personnage_8h.html#add57a3435c78aad366867e4b9266ebd7">getEspece</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad0f619eecff802774f80053e32879190"></a><!-- doxytag: member="Personnage.c::getIDPers" ref="ad0f619eecff802774f80053e32879190" args="(const Personnage *personnage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="_personnage_8h.html#ad0f619eecff802774f80053e32879190">getIDPers</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa0f2cd8b5da3723e00bb4cb6cfec75b2"></a><!-- doxytag: member="Personnage.c::getNom" ref="aa0f2cd8b5da3723e00bb4cb6cfec75b2" args="(const Personnage *personnage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* <a class="el" href="_personnage_8h.html#aa0f2cd8b5da3723e00bb4cb6cfec75b2">getNom</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a311692a49637893021518adbdaa42804"></a><!-- doxytag: member="Personnage.c::getPersonnagePrecedent" ref="a311692a49637893021518adbdaa42804" args="(Personnage *personnage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a>* <a class="el" href="_personnage_8c.html#a311692a49637893021518adbdaa42804">getPersonnagePrecedent</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a002266eff71b796ad32ea7b1ad61ebc1"></a><!-- doxytag: member="Personnage.c::getPersonnageSuivant" ref="a002266eff71b796ad32ea7b1ad61ebc1" args="(Personnage *personnage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a>* <a class="el" href="_personnage_8h.html#a002266eff71b796ad32ea7b1ad61ebc1">getPersonnageSuivant</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac1fee3daab71655e9f3299ff252090b9"></a><!-- doxytag: member="Personnage.c::getProdActPers" ref="ac1fee3daab71655e9f3299ff252090b9" args="(const Personnage *personnage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="_personnage_8h.html#ac1fee3daab71655e9f3299ff252090b9">getProdActPers</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retourne l'état où en est la production actuelle du personnage. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Un entier </dd></dl>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">personnage</td><td>Pointeur vers un Personnage </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ace110510c3cb811e18f2efc981cbfd83"></a><!-- doxytag: member="Personnage.c::getVitesseProdPers" ref="ace110510c3cb811e18f2efc981cbfd83" args="(const Personnage *personnage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="_personnage_8h.html#ace110510c3cb811e18f2efc981cbfd83">getVitesseProdPers</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retourne la valeur de vitesse de production du personnage donné </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">personnage</td><td>Pointeur vers personnage </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Un entier </dd></dl>

</div>
</div>
<a class="anchor" id="a1bca74134d3159dc8ef8b33f999652c0"></a><!-- doxytag: member="Personnage.c::getVitProd" ref="a1bca74134d3159dc8ef8b33f999652c0" args="(const Personnage *personnage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="_personnage_8h.html#a1bca74134d3159dc8ef8b33f999652c0">getVitProd</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad8939a92febd01af527b89cbf8718404"></a><!-- doxytag: member="Personnage.c::getXPers" ref="ad8939a92febd01af527b89cbf8718404" args="(const Personnage *personnage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="_personnage_8h.html#ad8939a92febd01af527b89cbf8718404">getXPers</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a240dd7a392a091ddf87116dc09fbf52d"></a><!-- doxytag: member="Personnage.c::getYPers" ref="a240dd7a392a091ddf87116dc09fbf52d" args="(const Personnage *personnage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="_personnage_8h.html#a240dd7a392a091ddf87116dc09fbf52d">getYPers</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7fd98037116439b6da55473caf3d2543"></a><!-- doxytag: member="Personnage.c::getZPers" ref="a7fd98037116439b6da55473caf3d2543" args="(const Personnage *personnage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="_personnage_8h.html#a7fd98037116439b6da55473caf3d2543">getZPers</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5a748ba336d5d59c467474665131f3e9"></a><!-- doxytag: member="Personnage.c::initPers" ref="a5a748ba336d5d59c467474665131f3e9" args="(Personnage *personnage, const unsigned int posX, const unsigned int posY, const unsigned int posZ)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#a5a748ba336d5d59c467474665131f3e9">initPers</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned int&#160;</td>
          <td class="paramname"><em>posX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned int&#160;</td>
          <td class="paramname"><em>posY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned int&#160;</td>
          <td class="paramname"><em>posZ</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad1892a1fbdf3f1e389f86337b009ec95"></a><!-- doxytag: member="Personnage.c::liberePers" ref="ad1892a1fbdf3f1e389f86337b009ec95" args="(Personnage *personnage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#ad1892a1fbdf3f1e389f86337b009ec95">liberePers</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Libère la mémoire allouée aux champs du Personnage donné </p>
<p>Met à NULL tous les Pointeurs, désalloue la mémoire réservée initialement pour les tableaux de char </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">personnage</td><td>Pointeur vers le personnage à libérer </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a998e0455c211e4bd8821e9832b11cc9b"></a><!-- doxytag: member="Personnage.c::setCaracPers" ref="a998e0455c211e4bd8821e9832b11cc9b" args="(Personnage *personnage, Caracteristiques *caracteristiques)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#a998e0455c211e4bd8821e9832b11cc9b">setCaracPers</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_caracteristiques.html">Caracteristiques</a> *&#160;</td>
          <td class="paramname"><em>caracteristiques</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afbe683f828915d6a3d16686b17e28940"></a><!-- doxytag: member="Personnage.c::setCompActuelNomCompPers" ref="afbe683f828915d6a3d16686b17e28940" args="(Personnage *personnage, TabComp *ptabComp, char *nomComp)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#afbe683f828915d6a3d16686b17e28940">setCompActuelNomCompPers</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_tab_comp.html">TabComp</a> *&#160;</td>
          <td class="paramname"><em>ptabComp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>nomComp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remplace le pointeur sur le comportement en cours d'un Personnage donné par un comportement dont on aura fourni le nom en paramètre. </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pcompAct</td><td>Pointeur vers un <a class="el" href="struct_comp_actuel.html" title="Informations définissant un CompActuel.">CompActuel</a> </td></tr>
    <tr><td class="paramname">ptabComp</td><td>Tableau des comportements possibles </td></tr>
    <tr><td class="paramname">nomComp</td><td>Nouveau comportement, pointeur vers <a class="el" href="struct_comportement.html" title="Informations définissant un Comportement.">Comportement</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9687678428effb26dcdf72187a790380"></a><!-- doxytag: member="Personnage.c::setComportActuel" ref="a9687678428effb26dcdf72187a790380" args="(Personnage *personnage, CompActuel *nouvComp)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#a9687678428effb26dcdf72187a790380">setComportActuel</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_comp_actuel.html">CompActuel</a> *&#160;</td>
          <td class="paramname"><em>nouvComp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remplace le pointeur sur le comportement en cours d'un Personnage donné par un pointeur passé en paramètre. </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pcompAct</td><td>Pointeur vers un <a class="el" href="struct_comp_actuel.html" title="Informations définissant un CompActuel.">CompActuel</a> </td></tr>
    <tr><td class="paramname">nouvComp</td><td>Nouveau comportement, pointeur vers <a class="el" href="struct_comportement.html" title="Informations définissant un Comportement.">Comportement</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1d2f71b6571baea81f936de79558b20b"></a><!-- doxytag: member="Personnage.c::setEspecePers" ref="a1d2f71b6571baea81f936de79558b20b" args="(Personnage *personnage, char *espece)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#a1d2f71b6571baea81f936de79558b20b">setEspecePers</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>espece</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae9450045709c06b990c5944e2f57167d"></a><!-- doxytag: member="Personnage.c::setIDPers" ref="ae9450045709c06b990c5944e2f57167d" args="(Personnage *personnage, const unsigned int ID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#ae9450045709c06b990c5944e2f57167d">setIDPers</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned int&#160;</td>
          <td class="paramname"><em>ID</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a405a6a3c2ddc62dd6e3b12c1920f9183"></a><!-- doxytag: member="Personnage.c::setNomPers" ref="a405a6a3c2ddc62dd6e3b12c1920f9183" args="(Personnage *personnage, char *nom)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#a405a6a3c2ddc62dd6e3b12c1920f9183">setNomPers</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>nom</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1fe1d32799710b78dec590edf52a0f9d"></a><!-- doxytag: member="Personnage.c::setPersonnagePrecedent" ref="a1fe1d32799710b78dec590edf52a0f9d" args="(Personnage *personnage, Personnage *personnagePrecedent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8c.html#a1fe1d32799710b78dec590edf52a0f9d">setPersonnagePrecedent</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnagePrecedent</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="adbb2f4fa429d303c0964958e9c783189"></a><!-- doxytag: member="Personnage.c::setPersonnageSuivant" ref="adbb2f4fa429d303c0964958e9c783189" args="(Personnage *personnage, Personnage *personnageSuivant)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#adbb2f4fa429d303c0964958e9c783189">setPersonnageSuivant</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnageSuivant</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2277ba6161b0bd678113b405d1b85c0c"></a><!-- doxytag: member="Personnage.c::setProdActPers" ref="a2277ba6161b0bd678113b405d1b85c0c" args="(Personnage *personnage, int nouvVal)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#a2277ba6161b0bd678113b405d1b85c0c">setProdActPers</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nouvVal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remplace la valeur de production actuelle du personnage donné par une nouvelle valeur passée en paramètre. </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">personnage</td><td>Pointeur vers personnage </td></tr>
    <tr><td class="paramname">nouvVal</td><td>Entier, nouvelle valeur </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4895fedeca52cf085e4ea7783779bba7"></a><!-- doxytag: member="Personnage.c::setVitesseProdPers" ref="a4895fedeca52cf085e4ea7783779bba7" args="(Personnage *personnage, int nouvVal)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#a4895fedeca52cf085e4ea7783779bba7">setVitesseProdPers</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nouvVal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remplace la valeur de vitesse de production du personnage donné par une nouvelle valeur passée en paramètre. </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">personnage</td><td>Pointeur vers personnage </td></tr>
    <tr><td class="paramname">nouvVal</td><td>Entier, nouvelle valeur </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a710b72772e0e5c11a72b633b7f0a54ba"></a><!-- doxytag: member="Personnage.c::setXPers" ref="a710b72772e0e5c11a72b633b7f0a54ba" args="(Personnage *personnage, const unsigned int x)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#a710b72772e0e5c11a72b633b7f0a54ba">setXPers</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned int&#160;</td>
          <td class="paramname"><em>x</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a83fc2213f88a064addc6c48cc59b5f1e"></a><!-- doxytag: member="Personnage.c::setYPers" ref="a83fc2213f88a064addc6c48cc59b5f1e" args="(Personnage *personnage, const unsigned int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#a83fc2213f88a064addc6c48cc59b5f1e">setYPers</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7f9fdb53e9aca41690854d434a96d51b"></a><!-- doxytag: member="Personnage.c::setZPers" ref="a7f9fdb53e9aca41690854d434a96d51b" args="(Personnage *personnage, const unsigned int z)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#a7f9fdb53e9aca41690854d434a96d51b">setZPers</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#af6991d63f26e86107639b90cabbd8cf0">Personnage</a> *&#160;</td>
          <td class="paramname"><em>personnage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned int&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae81ecc66acb9ddb110ca0efa5ad9d761"></a><!-- doxytag: member="Personnage.c::testPers" ref="ae81ecc66acb9ddb110ca0efa5ad9d761" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_personnage_8h.html#ae81ecc66acb9ddb110ca0efa5ad9d761">testPers</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Teste les différentes fonctions du module Personnage. </p>
<p>Teste les différentes fonctions du module Personnage en les utilisant avec diverses valeurs plus ou moins probables </p>

</div>
</div>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Définitions de type</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Généré le Mardi Juin 4 2013 00:35:15 pour Exil par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
